\hypertarget{class_u_i_1_1_shopped_gui}{
\section{UI::ShoppedGui Class Reference}
\label{class_u_i_1_1_shopped_gui}\index{UI::ShoppedGui@{UI::ShoppedGui}}
}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a190bba777e57891c8042b86afbba83c6}{EnableGuiItems} ()
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a292a827437d7f2098c13bc1a735a569e}{SetAdditionalInfo} ()
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a3a27f074b7b204b1df148921a0dcc20c}{OpenImage} ()
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a74a1accbbc8cb69ea61830d9bfcd302c}{UpdatePictureBoxInfo} (string operation)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a62a62fa927ca572fb7d19f8116fc8858}{SetPictureBoxOnUndo} ()
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_ab6fbc914ecb121fa800ec2834daa4f37}{SetPictureBoxOnRedo} ()
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_ad9bcb5a3a89de53a6ef580bd806fae26}{Form1\_\-Load} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a4c3239cc225d230bafb0cc53a9f49e2c}{exitToolStripMenuItem\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a04958c8af963e508601e03e14bfb8bb8}{aboutToolStripMenuItem\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a5a4be38d87e3d968e9336400e572b646}{openPictureButton\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a205444f0fff14792394724b4eb22601d}{saveImageButton\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a059988dec5a74fcc82ee2eb503d49118}{openPictureToolStripMenuItem\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a79d60e553769283f7b9ec8af7a9d3dc1}{savePictureToolStripMenuItem\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a8b4824c0552bcfe814bbf8437cb87ec2}{rotateToolStripMenuItem\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a5f99b03c74d01734153873d6c35fbdf3}{zoomImageToolStripMenuItem\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a05e2b57477f10f88b1ee06b6b5aa4d86}{resizeToolStripMenuItem\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a167624483eae61dcbe7de755ad0549a5}{undoToolStripMenuItem\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a5828d5deddf5b8453e01db469a1a6f83}{redoToolStripMenuItem\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a9bfb029eb21eb1c7c4fddcee35d1d9fc}{grayscaleToolStripMenuItem\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a3e9438c31f65604189c8fa3819bb0510}{PictureBox\_\-MouseMove} (object sender, MouseEventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a24f789e7efcce9caf5178012245a75fc}{PictureBox\_\-MouseUp} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a533354a0b2f7d07821793de2faca3e9e}{sepiaToolStripMenuItem\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a4b427f671412d87998b2ee692188e038}{invertToolStripMenuItem\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_af34ff2a7d4362d8b1ad623584997ef64}{brightnessToolStripMenuItem\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_abbc4b01527f315dce800b0db4a1b4677}{contrastToolStripMenuItem\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_adae47cccd54dffb1caba9b7226e93fd1}{ZoomToolStripButton\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_aa7a084a294a53c365db6ff2819c41ca4}{ResizeToolStripButton\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a78f013b1629cf758caec6e07e8694988}{UndoToolStripButton\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a1b0a305e8263bd20d979d2d0b04c726b}{RedoToolStripButton\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_ab00cf3db4aed9cacee4e7d5ff261509b}{RotateToolStripButton\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a5558e1154a550f8a8717a4e6240c0614}{RotateImage} ()
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a12f67f7b5543dec9779eaac2f8948111}{ZoomImage} ()
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a17f56127994db9ab942c65baf3506172}{ResizeImage} ()
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a61ec62f5b9069ad0694aac24efacb901}{AdjustContrast} ()
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a3eaf4cafecc8ce1879a496f5ffe9e7a9}{AdjustBrightness} ()
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_aca1101f73de09ed9dade7398c1415bd0}{drawingToolStripMenuItem\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_af3350e3e7c086196264ad9443eb4f2ac}{DrawToolStripButton\_\-Click} (object sender, EventArgs e)
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a99e47a8b843bf190a7a0e3f8b3f5abb9}{SetUndoAndRedo} ()
\item 
string \hyperlink{class_u_i_1_1_shopped_gui_a2ec6c1eaa3745958b54c6c589eb55028}{GetCoordinates} ()
\item 
string \hyperlink{class_u_i_1_1_shopped_gui_ae231691f0dd77892c3e09d2c5ab033c3}{GetPixelColor} ()
\item 
void \hyperlink{class_u_i_1_1_shopped_gui_a1b4d9d49a910f9a456e86a80bb2c7b35}{DrawOnPictureBox} (MouseEventArgs mouse)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_u_i_1_1_shopped_gui_a19139212d3779912c914ee07e2365cf6}{
\hyperlink{class_core_1_1_shopped_gui_helper}{ShoppedGuiHelper} {\bfseries \_\-shoppedGuiHelper}}
\label{class_u_i_1_1_shopped_gui_a19139212d3779912c914ee07e2365cf6}

\end{DoxyCompactItemize}
\subsection*{Static Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_u_i_1_1_shopped_gui_adb7af204c999d32a30fae28c25a11267}{
static Logger {\bfseries \_\-logger} = LogManager.GetCurrentClassLogger()}
\label{class_u_i_1_1_shopped_gui_adb7af204c999d32a30fae28c25a11267}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
The class that loads, runs and handles events of the Shopped main GUI.


\begin{DoxyParams}{Parameters}
\item[{\em \_\-shoppedGuiHelper}]An instance of the ShoppedGuiHelper class. \item[{\em \_\-logger}]An instance of nLogger, which allows us to write debug statements to file. \end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{class_u_i_1_1_shopped_gui_a04958c8af963e508601e03e14bfb8bb8}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!aboutToolStripMenuItem\_\-Click@{aboutToolStripMenuItem\_\-Click}}
\index{aboutToolStripMenuItem\_\-Click@{aboutToolStripMenuItem\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{aboutToolStripMenuItem\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::aboutToolStripMenuItem\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a04958c8af963e508601e03e14bfb8bb8}
Handles the event of clicking Help-\/$>$About menu item. Displays message box containing information about Shopped (developer names, program info). \hypertarget{class_u_i_1_1_shopped_gui_a3eaf4cafecc8ce1879a496f5ffe9e7a9}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!AdjustBrightness@{AdjustBrightness}}
\index{AdjustBrightness@{AdjustBrightness}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{AdjustBrightness}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::AdjustBrightness ()\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a3eaf4cafecc8ce1879a496f5ffe9e7a9}
Pops up a dialog box for the user to input a number adjust image brightness. Calls AdjustBrightness of ShoppedGuiHelper and updates the Gui with the new image. \hypertarget{class_u_i_1_1_shopped_gui_a61ec62f5b9069ad0694aac24efacb901}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!AdjustContrast@{AdjustContrast}}
\index{AdjustContrast@{AdjustContrast}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{AdjustContrast}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::AdjustContrast ()\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a61ec62f5b9069ad0694aac24efacb901}
Pops up a dialog box for the user to input a number adjust image contrast. Calls AdjustContrast of ShoppedGuiHelper and updates the Gui with the new image. \hypertarget{class_u_i_1_1_shopped_gui_af34ff2a7d4362d8b1ad623584997ef64}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!brightnessToolStripMenuItem\_\-Click@{brightnessToolStripMenuItem\_\-Click}}
\index{brightnessToolStripMenuItem\_\-Click@{brightnessToolStripMenuItem\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{brightnessToolStripMenuItem\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::brightnessToolStripMenuItem\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_af34ff2a7d4362d8b1ad623584997ef64}
Handles the event of clicking the Tools-\/$>$Brightness menu item. \hypertarget{class_u_i_1_1_shopped_gui_abbc4b01527f315dce800b0db4a1b4677}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!contrastToolStripMenuItem\_\-Click@{contrastToolStripMenuItem\_\-Click}}
\index{contrastToolStripMenuItem\_\-Click@{contrastToolStripMenuItem\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{contrastToolStripMenuItem\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::contrastToolStripMenuItem\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_abbc4b01527f315dce800b0db4a1b4677}
Handles the event of clicking the Tools-\/$>$Contrast menu item. \hypertarget{class_u_i_1_1_shopped_gui_aca1101f73de09ed9dade7398c1415bd0}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!drawingToolStripMenuItem\_\-Click@{drawingToolStripMenuItem\_\-Click}}
\index{drawingToolStripMenuItem\_\-Click@{drawingToolStripMenuItem\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{drawingToolStripMenuItem\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::drawingToolStripMenuItem\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_aca1101f73de09ed9dade7398c1415bd0}
Handles the event of the user selecting \char`\"{}Drawing\char`\"{} from the Tools menu. Opens up a DrawingDialog and sets the values to ImageDraw object accordingly. \hypertarget{class_u_i_1_1_shopped_gui_a1b4d9d49a910f9a456e86a80bb2c7b35}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!DrawOnPictureBox@{DrawOnPictureBox}}
\index{DrawOnPictureBox@{DrawOnPictureBox}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{DrawOnPictureBox}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::DrawOnPictureBox (MouseEventArgs {\em mouse})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a1b4d9d49a910f9a456e86a80bb2c7b35}
Calls upon ImageDraw class to draw on the current PictureBox


\begin{DoxyParams}{Parameters}
\item[{\em mouse}]Contains the current status of the mouse. \end{DoxyParams}
\hypertarget{class_u_i_1_1_shopped_gui_af3350e3e7c086196264ad9443eb4f2ac}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!DrawToolStripButton\_\-Click@{DrawToolStripButton\_\-Click}}
\index{DrawToolStripButton\_\-Click@{DrawToolStripButton\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{DrawToolStripButton\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::DrawToolStripButton\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_af3350e3e7c086196264ad9443eb4f2ac}
Handles the event of the Draw button being clicked in the GUI. Sets the tooltip text according to the current toggle state and sets the toggle state. \hypertarget{class_u_i_1_1_shopped_gui_a190bba777e57891c8042b86afbba83c6}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!EnableGuiItems@{EnableGuiItems}}
\index{EnableGuiItems@{EnableGuiItems}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{EnableGuiItems}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::EnableGuiItems ()\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a190bba777e57891c8042b86afbba83c6}
Called upon once an image is loaded from file, this enables the features/options that can now be used. \hypertarget{class_u_i_1_1_shopped_gui_a4c3239cc225d230bafb0cc53a9f49e2c}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!exitToolStripMenuItem\_\-Click@{exitToolStripMenuItem\_\-Click}}
\index{exitToolStripMenuItem\_\-Click@{exitToolStripMenuItem\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{exitToolStripMenuItem\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::exitToolStripMenuItem\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a4c3239cc225d230bafb0cc53a9f49e2c}
Handles the event of clicking File-\/$>$Exit menu item. Exits the program. \hypertarget{class_u_i_1_1_shopped_gui_ad9bcb5a3a89de53a6ef580bd806fae26}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!Form1\_\-Load@{Form1\_\-Load}}
\index{Form1\_\-Load@{Form1\_\-Load}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{Form1\_\-Load}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::Form1\_\-Load (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_ad9bcb5a3a89de53a6ef580bd806fae26}
Initial loading of the Shopped program. Disables certain features/options that should not be available until an image is loaded into the program. \hypertarget{class_u_i_1_1_shopped_gui_a2ec6c1eaa3745958b54c6c589eb55028}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!GetCoordinates@{GetCoordinates}}
\index{GetCoordinates@{GetCoordinates}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{GetCoordinates}]{\setlength{\rightskip}{0pt plus 5cm}string UI::ShoppedGui::GetCoordinates ()\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a2ec6c1eaa3745958b54c6c589eb55028}
Gets the current coordinates of the mouse in the PictureBox and returns them as an ordered pair.

\begin{DoxyReturn}{Returns}
A string representation of the coordinates as an ordered pair. 
\end{DoxyReturn}
\hypertarget{class_u_i_1_1_shopped_gui_ae231691f0dd77892c3e09d2c5ab033c3}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!GetPixelColor@{GetPixelColor}}
\index{GetPixelColor@{GetPixelColor}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{GetPixelColor}]{\setlength{\rightskip}{0pt plus 5cm}string UI::ShoppedGui::GetPixelColor ()\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_ae231691f0dd77892c3e09d2c5ab033c3}
Takes the cursor's current position on the image and attempts to get the color of that pixel.

\begin{DoxyReturn}{Returns}
The hexadecimal representation of the pixel's color. 
\end{DoxyReturn}
\hypertarget{class_u_i_1_1_shopped_gui_a9bfb029eb21eb1c7c4fddcee35d1d9fc}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!grayscaleToolStripMenuItem\_\-Click@{grayscaleToolStripMenuItem\_\-Click}}
\index{grayscaleToolStripMenuItem\_\-Click@{grayscaleToolStripMenuItem\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{grayscaleToolStripMenuItem\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::grayscaleToolStripMenuItem\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a9bfb029eb21eb1c7c4fddcee35d1d9fc}
Handles the event of clicking the Tools-\/$>$Grayscale menu item. \hypertarget{class_u_i_1_1_shopped_gui_a4b427f671412d87998b2ee692188e038}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!invertToolStripMenuItem\_\-Click@{invertToolStripMenuItem\_\-Click}}
\index{invertToolStripMenuItem\_\-Click@{invertToolStripMenuItem\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{invertToolStripMenuItem\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::invertToolStripMenuItem\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a4b427f671412d87998b2ee692188e038}
Handles the event of clicking the Tools-\/$>$Invert menu item. \hypertarget{class_u_i_1_1_shopped_gui_a3a27f074b7b204b1df148921a0dcc20c}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!OpenImage@{OpenImage}}
\index{OpenImage@{OpenImage}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{OpenImage}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::OpenImage ()\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a3a27f074b7b204b1df148921a0dcc20c}
Uses FileOperation instance to prompt user to open an image file. Sets the image in the editor once image is opened. \hypertarget{class_u_i_1_1_shopped_gui_a5a4be38d87e3d968e9336400e572b646}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!openPictureButton\_\-Click@{openPictureButton\_\-Click}}
\index{openPictureButton\_\-Click@{openPictureButton\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{openPictureButton\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::openPictureButton\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a5a4be38d87e3d968e9336400e572b646}
Handles the event of clicking \char`\"{}Open Image\char`\"{} icon. \hypertarget{class_u_i_1_1_shopped_gui_a059988dec5a74fcc82ee2eb503d49118}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!openPictureToolStripMenuItem\_\-Click@{openPictureToolStripMenuItem\_\-Click}}
\index{openPictureToolStripMenuItem\_\-Click@{openPictureToolStripMenuItem\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{openPictureToolStripMenuItem\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::openPictureToolStripMenuItem\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a059988dec5a74fcc82ee2eb503d49118}
Handles the event of clicking File-\/$>$Open Picture menu item. \hypertarget{class_u_i_1_1_shopped_gui_a3e9438c31f65604189c8fa3819bb0510}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!PictureBox\_\-MouseMove@{PictureBox\_\-MouseMove}}
\index{PictureBox\_\-MouseMove@{PictureBox\_\-MouseMove}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{PictureBox\_\-MouseMove}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::PictureBox\_\-MouseMove (object {\em sender}, \/  MouseEventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a3e9438c31f65604189c8fa3819bb0510}
Handles the event of the cursor moving around on the PictureBox. \hypertarget{class_u_i_1_1_shopped_gui_a24f789e7efcce9caf5178012245a75fc}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!PictureBox\_\-MouseUp@{PictureBox\_\-MouseUp}}
\index{PictureBox\_\-MouseUp@{PictureBox\_\-MouseUp}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{PictureBox\_\-MouseUp}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::PictureBox\_\-MouseUp (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a24f789e7efcce9caf5178012245a75fc}
Handles the event of the the mouse button being pressed down on the PictureBox. \hypertarget{class_u_i_1_1_shopped_gui_a1b0a305e8263bd20d979d2d0b04c726b}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!RedoToolStripButton\_\-Click@{RedoToolStripButton\_\-Click}}
\index{RedoToolStripButton\_\-Click@{RedoToolStripButton\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{RedoToolStripButton\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::RedoToolStripButton\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a1b0a305e8263bd20d979d2d0b04c726b}
Handles the event of clicking the Redo button. \hypertarget{class_u_i_1_1_shopped_gui_a5828d5deddf5b8453e01db469a1a6f83}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!redoToolStripMenuItem\_\-Click@{redoToolStripMenuItem\_\-Click}}
\index{redoToolStripMenuItem\_\-Click@{redoToolStripMenuItem\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{redoToolStripMenuItem\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::redoToolStripMenuItem\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a5828d5deddf5b8453e01db469a1a6f83}
Handles the event of clicking the Edit-\/$>$Redo menu item. \hypertarget{class_u_i_1_1_shopped_gui_a17f56127994db9ab942c65baf3506172}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!ResizeImage@{ResizeImage}}
\index{ResizeImage@{ResizeImage}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{ResizeImage}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::ResizeImage ()\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a17f56127994db9ab942c65baf3506172}
Pops up a dialog box for the user to input a number to resize the picture by. Calls ResizeImage of ShoppedGuiHelper and updates the Gui with the new image. \hypertarget{class_u_i_1_1_shopped_gui_aa7a084a294a53c365db6ff2819c41ca4}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!ResizeToolStripButton\_\-Click@{ResizeToolStripButton\_\-Click}}
\index{ResizeToolStripButton\_\-Click@{ResizeToolStripButton\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{ResizeToolStripButton\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::ResizeToolStripButton\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_aa7a084a294a53c365db6ff2819c41ca4}
Handles the event of clicking the Resize Image button. \hypertarget{class_u_i_1_1_shopped_gui_a05e2b57477f10f88b1ee06b6b5aa4d86}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!resizeToolStripMenuItem\_\-Click@{resizeToolStripMenuItem\_\-Click}}
\index{resizeToolStripMenuItem\_\-Click@{resizeToolStripMenuItem\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{resizeToolStripMenuItem\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::resizeToolStripMenuItem\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a05e2b57477f10f88b1ee06b6b5aa4d86}
Handles the event of clicking the Tools-\/$>$Resize menu item. Displays the ResizeDialog windows form, obtains the value to resize from the form, then resizes the image according to the resize value. \hypertarget{class_u_i_1_1_shopped_gui_a5558e1154a550f8a8717a4e6240c0614}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!RotateImage@{RotateImage}}
\index{RotateImage@{RotateImage}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{RotateImage}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::RotateImage ()\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a5558e1154a550f8a8717a4e6240c0614}
Pops up a dialog box for the user to input a number to rotate the picture by. Calls RotateImage of ShoppedGuiHelper and updates the Gui with the new image. \hypertarget{class_u_i_1_1_shopped_gui_ab00cf3db4aed9cacee4e7d5ff261509b}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!RotateToolStripButton\_\-Click@{RotateToolStripButton\_\-Click}}
\index{RotateToolStripButton\_\-Click@{RotateToolStripButton\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{RotateToolStripButton\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::RotateToolStripButton\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_ab00cf3db4aed9cacee4e7d5ff261509b}
Handles the event of clicking the Rotate Image button. \hypertarget{class_u_i_1_1_shopped_gui_a8b4824c0552bcfe814bbf8437cb87ec2}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!rotateToolStripMenuItem\_\-Click@{rotateToolStripMenuItem\_\-Click}}
\index{rotateToolStripMenuItem\_\-Click@{rotateToolStripMenuItem\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{rotateToolStripMenuItem\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::rotateToolStripMenuItem\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a8b4824c0552bcfe814bbf8437cb87ec2}
Handles the event of clicking the Tools-\/$>$Rotate menu item. Displays the RotateDialog windows form, obtains the value to rotate from the form, then rotates the image according to the rotate value. \hypertarget{class_u_i_1_1_shopped_gui_a205444f0fff14792394724b4eb22601d}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!saveImageButton\_\-Click@{saveImageButton\_\-Click}}
\index{saveImageButton\_\-Click@{saveImageButton\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{saveImageButton\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::saveImageButton\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a205444f0fff14792394724b4eb22601d}
Handles the event of clicking \char`\"{}Save Image\char`\"{} icon. \hypertarget{class_u_i_1_1_shopped_gui_a79d60e553769283f7b9ec8af7a9d3dc1}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!savePictureToolStripMenuItem\_\-Click@{savePictureToolStripMenuItem\_\-Click}}
\index{savePictureToolStripMenuItem\_\-Click@{savePictureToolStripMenuItem\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{savePictureToolStripMenuItem\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::savePictureToolStripMenuItem\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a79d60e553769283f7b9ec8af7a9d3dc1}
Handles the event of clicking File-\/$>$Save Picture menu item. \hypertarget{class_u_i_1_1_shopped_gui_a533354a0b2f7d07821793de2faca3e9e}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!sepiaToolStripMenuItem\_\-Click@{sepiaToolStripMenuItem\_\-Click}}
\index{sepiaToolStripMenuItem\_\-Click@{sepiaToolStripMenuItem\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{sepiaToolStripMenuItem\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::sepiaToolStripMenuItem\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a533354a0b2f7d07821793de2faca3e9e}
Handles the event of clicking the Tools-\/$>$Sepia menu item. \hypertarget{class_u_i_1_1_shopped_gui_a292a827437d7f2098c13bc1a735a569e}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!SetAdditionalInfo@{SetAdditionalInfo}}
\index{SetAdditionalInfo@{SetAdditionalInfo}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{SetAdditionalInfo}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::SetAdditionalInfo ()\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a292a827437d7f2098c13bc1a735a569e}
Sets the information about the PictureBox image that is located at the bottom of the Shopped GUI. Information includes height, width and the name of the image. \hypertarget{class_u_i_1_1_shopped_gui_ab6fbc914ecb121fa800ec2834daa4f37}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!SetPictureBoxOnRedo@{SetPictureBoxOnRedo}}
\index{SetPictureBoxOnRedo@{SetPictureBoxOnRedo}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{SetPictureBoxOnRedo}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::SetPictureBoxOnRedo ()\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_ab6fbc914ecb121fa800ec2834daa4f37}
Given an Image object from the ImageHistory class, set the ShoppedGUI PictureBox (image being currently displayed) to that Image object. \hypertarget{class_u_i_1_1_shopped_gui_a62a62fa927ca572fb7d19f8116fc8858}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!SetPictureBoxOnUndo@{SetPictureBoxOnUndo}}
\index{SetPictureBoxOnUndo@{SetPictureBoxOnUndo}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{SetPictureBoxOnUndo}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::SetPictureBoxOnUndo ()\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a62a62fa927ca572fb7d19f8116fc8858}
Given an Image object from the ImageHistory class, set the ShoppedGUI PictureBox (image being currently displayed) to that Image object. \hypertarget{class_u_i_1_1_shopped_gui_a99e47a8b843bf190a7a0e3f8b3f5abb9}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!SetUndoAndRedo@{SetUndoAndRedo}}
\index{SetUndoAndRedo@{SetUndoAndRedo}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{SetUndoAndRedo}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::SetUndoAndRedo ()\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a99e47a8b843bf190a7a0e3f8b3f5abb9}
Called upon when the event of clicking Undo/Redo in the Shopped GUI, this will enable or disable the Undo/Redo buttons and menu items in the GUI. This will also set the tooltip text for the undo/redo GUI items. \hypertarget{class_u_i_1_1_shopped_gui_a78f013b1629cf758caec6e07e8694988}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!UndoToolStripButton\_\-Click@{UndoToolStripButton\_\-Click}}
\index{UndoToolStripButton\_\-Click@{UndoToolStripButton\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{UndoToolStripButton\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::UndoToolStripButton\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a78f013b1629cf758caec6e07e8694988}
Handles the event of clicking the Undo button. \hypertarget{class_u_i_1_1_shopped_gui_a167624483eae61dcbe7de755ad0549a5}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!undoToolStripMenuItem\_\-Click@{undoToolStripMenuItem\_\-Click}}
\index{undoToolStripMenuItem\_\-Click@{undoToolStripMenuItem\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{undoToolStripMenuItem\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::undoToolStripMenuItem\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a167624483eae61dcbe7de755ad0549a5}
Handles the event of clicking the Edit-\/$>$Undo menu item. \hypertarget{class_u_i_1_1_shopped_gui_a74a1accbbc8cb69ea61830d9bfcd302c}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!UpdatePictureBoxInfo@{UpdatePictureBoxInfo}}
\index{UpdatePictureBoxInfo@{UpdatePictureBoxInfo}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{UpdatePictureBoxInfo}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::UpdatePictureBoxInfo (string {\em operation})\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a74a1accbbc8cb69ea61830d9bfcd302c}
Sets the PictureBox to the image passed to this method.


\begin{DoxyParams}{Parameters}
\item[{\em operation}]A brief description of the operation just performed to the Shopped GUI image. \end{DoxyParams}
\hypertarget{class_u_i_1_1_shopped_gui_a12f67f7b5543dec9779eaac2f8948111}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!ZoomImage@{ZoomImage}}
\index{ZoomImage@{ZoomImage}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{ZoomImage}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::ZoomImage ()\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a12f67f7b5543dec9779eaac2f8948111}
Pops up a dialog box for the user to input a number to zoom the picture. Calls ZoomImage of ShoppedGuiHelper and updates the Gui with the new image. \hypertarget{class_u_i_1_1_shopped_gui_a5f99b03c74d01734153873d6c35fbdf3}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!zoomImageToolStripMenuItem\_\-Click@{zoomImageToolStripMenuItem\_\-Click}}
\index{zoomImageToolStripMenuItem\_\-Click@{zoomImageToolStripMenuItem\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{zoomImageToolStripMenuItem\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::zoomImageToolStripMenuItem\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_a5f99b03c74d01734153873d6c35fbdf3}
Handles the event of clicking the View-\/$>$Zoom Image menu item. Displays the ZoomDialog windows form, obtains the value to zoom from the form, then zooms the image according to the zoom value. \hypertarget{class_u_i_1_1_shopped_gui_adae47cccd54dffb1caba9b7226e93fd1}{
\index{UI::ShoppedGui@{UI::ShoppedGui}!ZoomToolStripButton\_\-Click@{ZoomToolStripButton\_\-Click}}
\index{ZoomToolStripButton\_\-Click@{ZoomToolStripButton\_\-Click}!UI::ShoppedGui@{UI::ShoppedGui}}
\subsubsection[{ZoomToolStripButton\_\-Click}]{\setlength{\rightskip}{0pt plus 5cm}void UI::ShoppedGui::ZoomToolStripButton\_\-Click (object {\em sender}, \/  EventArgs {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{class_u_i_1_1_shopped_gui_adae47cccd54dffb1caba9b7226e93fd1}
Handles the event of clicking the Zoom Image button. 

The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
C:/Users/Andy/Documents/Visual Studio 2008/Projects/capstone2009/shopped/src/UI/ShoppedGui.cs\end{DoxyCompactItemize}
